package com.jing.cloud.service.chat.adapter.handler.impl;

import com.jing.cloud.service.chat.adapter.MessageBean;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * Created by 29017 on 2017/9/10.
 */
@Component
@Slf4j
public class BadWordMessageHandler extends AbstractMessageHandler {
    @Override
    public boolean handleMessage(MessageBean messageBean) {
        log.info("{}", messageBean);
        return true;
    }

    @Override
    public int order() {
        return 9;
    }
}
